
<!DOCTYPE HTML>
<html>
    <head>
        <title>Youniversity</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
        
        <link rel="stylesheet" href="style/style.css"/>
        <script src="js/lib/cordova-1.7.0.js"></script>
        <script src="js/lib/iscroll.js"></script>

        <script type="text/javascript">

            var scrollableframe;
            function loaded() {
                scrollableframe = new iScroll('scrollableframe',
                                      { useTransition:false,
                                        checkDOMChanges: true,
                                        hideScrollbar: true,
                                        fixedScrollbar:true,
                                        bounceLock: true }
                                    );
                $('.list-item')
                    .on('touchstart', function () {
                        $(this).addClass('fake-active');
                    })
                    .on('touchend', function() {
                        $(this).removeClass('fake-active');
                    })
                    .on('touchcancel', function() {
                        $(this).removeClass('fake-active');
                    });
            }

            document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
            document.addEventListener('DOMContentLoaded', loaded, false);
            // document.addEventListener('resize', scroll3.refresh, false); 

        </script>

    </head>
    <body class="page">
        <nav>
            <ul>
                <li><a href="explore.html"><img src="resources/img/explore.png"></a></li>
                <li><a href="plan.html"><img src="resources/img/plan.png"></a></li>
                <li><a href="personal.html"><img src="resources/img/personal.png"></a></li>
                <li><a href="events.html"><img src="resources/img/events.png"></a></li>
                <li><a href="updates.html"><img src="resources/img/updates.png"></a></li>
            </ul>
        </nav>
        <header>Scienze mm.ff.nn.</header>

        <div id="scrollableframe">
            <div class="scroller">

                <div class="frame">
                    <div class="list-item">
                        <img class="picture" src="resources/img/biologia.png">
                        <ul>
                            <li class="title">Biologia</li>
                            <li class="desc">Presidente: prof. M. Miranda</li>
                        </ul>
                    </div>
                    <div class="list-item">
                        <img class="picture" src="resources/img/chimica.png">
                        <ul>
                            <li class="title">Chimica</li>
                            <li class="desc">Presidente: prof.ssa N. Spreti</li>
                        </ul>
                    </div>
                    <div class="list-item">
                        <img class="picture" src="resources/img/fisica.png">
                        <ul>
                            <li class="title">Fisica</li>
                            <li class="desc">Presidente: prof. P. Monacelli</li>
                        </ul>
                    </div>
                    <div class="list-item">
                        <img class="picture" src="resources/img/informatica.png">
                        <ul>
                            <li class="title">Informatica</li>
                            <li class="desc">Presidente: prof. M. Flammini</li>
                        </ul>
                    </div>
                    <div class="list-item">
                        <img class="picture" src="resources/img/matematica.png">
                        <ul>
                            <li class="title">Matematica</li>
                            <li class="desc">Presidente: prof. C. Scoppola</li>
                        </ul>
                    </div>
                </div>


            </div>
        </div>

        <script src="js/lib/zepto.min.js"></script>
        <script src="js/ynv.js"></script>
    </body>
</html>